/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import React from 'react';
import LineChart from './CommonComp/LineChart';

/**
 * 中邮大屏：近7日到件量 | 近7日出入库数
 *  */
const ArriveNum = props => {
  const { isParentFull } = props;

  return (
    <LineChart
      title="近七日到件量"
      dispatchType="chartData/getYzGpSevenRank"
      isParentFull={isParentFull}
      legends={{
        sum_num: '到件量',
      }}
      fields={['sum_num']}
    />
  );
};

export default ArriveNum;
